

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title><link href='./home/css/etm.css' rel='stylesheet' type='text/css' /><!--[if IE 8]> <link href='/Themes/Theme3/ie8Fix.css' rel='stylesheet' /> <![endif]-->

    <script src="./home/js/jquery-1.4.2.min.js"></script>
    <script src="./home/js/jQuery.Ex.js"></script>
    <script src="./home/js/flexigrid.js"></script>
    <script src="./home/js/Validator.js"></script>
    <script src="./home/js/WdatePicker.js"></script>
    <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE"/><script src='./home/js/jquery.nicescroll.min.js' type='text/javascript'></script><script type='text/javascript'>var isEtmClient=false;function ReSizeScrollbar() { if ($('form').getNiceScroll().length > 0) {     $('form').getNiceScroll().onResize();}}function ReSizeFlexgridScrollbar() { if ($('.bDiv').getNiceScroll().length > 0) {     $('.bDiv').getNiceScroll().onResize();}}function InitFlexgridScrollbar(){     $('.bDiv').niceScroll({cursorcolor: '#75A801',zindex:4});}function ReSizenDivScrollbar() { if ($('.flexigrid .nDiv').getNiceScroll().length > 0) {     $('.flexigrid .nDiv').getNiceScroll().onResize();}}function InitnDivScrollbar(){     $('.flexigrid .nDiv').niceScroll({cursorcolor: '#75A801',horizrailenabled:false});}function proxyExecuteFun(funName) {if(funName == undefined || funName==null|| funName.length==0){window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return;}  if (window[funName]()) {window.parent.showsending(true, "执行中，请耐心等待");setTimeout(function() { window.parent.showsending(false); }, 5000);return true; } return false; };var _tmpOnSelectedFile = null;function onSelectedFile(fileName, fileUrl, isImg) {   if (_tmpOnSelectedFile != null) {        _tmpOnSelectedFile(fileName, fileUrl, isImg);    }}function showFileList(callback) {   window.parent.showDialog('查看素材库', '/Modules/OA/CMyFileListView.aspx?navId=824a5996-01df-49c2-89bf-604b9cb31333', '900px', '450px');   _tmpOnSelectedFile = callback;}$(function () {if (navigator.userAgent.toLowerCase().indexOf('edge/') != -1) { $('input[type=submit],.tmpSubmitButton').bind({ mouseenter: function () { $(this).addClass('tmpSubmitButton'); $(this).prop('type', 'button'); }, mouseleave: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); }, click: function () { $(this).removeClass('tmpSubmitButton'); $(this).prop('type', 'submit'); } }); }if (window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { window.parent.showsending(false, ''); }$(".button").each(function() { if ($(this).attr("type") == "submit" &&!$(this).hasClass('noloading') && window.parent != undefined && window.parent != null && typeof window.parent.showsending != "undefined") { var tmpClick = $(this).attr("onclick");if(tmpClick == undefined || tmpClick==null|| tmpClick.length<2){ $(this).attr("onclick","proxyExecuteFun();");return;}  if (tmpClick.indexOf("return ") != -1 && tmpClick.indexOf("(") != -1) { tmpClick = tmpClick.substring(7).replace(/\s+/g, ''); if (tmpClick.indexOf("()") != -1) { var funName = tmpClick.substring(0, tmpClick.indexOf("(")); $(this).attr("onclick","return proxyExecuteFun('" + funName + "');"); } } } });$('body').click(function() {     if (typeof parent.onChildPageClick !='undefined') {         parent.onChildPageClick();     }});     $('form').height($(window).height()-0).niceScroll({cursorcolor: '#75A801',horizrailenabled:false });     $(window).resize(function () {         ReSizeScrollbar();     });});</script></head>
<body>
    <form method="post" action="ApplyDoList.aspx?navId=824a5996-01df-49c2-89bf-604b9cb31333" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTU2MzU1NzUzMWRkfxV6Dscur13v9KlC/pP9D8zRxg0R+WgSrSBVy+QKl2M=" />
</div>

<div class="aspNetHidden">

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="6D05A005" />
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAAfM+RipUH9AgYbHJRnGfeXgscNjDgJ5dSDnPY4+OuHMEa38hyU6ZFwpV3NBg1MgwhEAYLokPeQJ9blSjdBXxB82zx+hQ2fnG4jzGKqH16dggmrZFGNA/abPnvvronHkZuHteAXFupbDPm4hxR+kKgwVEgMQpIq7G6dC2brdowkvR+N0mrzs54IRzat2FCh9A0w=" />
</div>
        
        <table class="search">
            <tr>
                <td class="textAlignRight" style="width: 78px;">活动主题：
                </td>
                <td class="borderRight" style="width: 160px;">
                    <input name="tbDoTitle" type="text" id="tbDoTitle" class="int" />
                </td>
                <td class="textAlignRight" style="width: 78px;">幼儿名称：
                </td>
                <td class="borderRight" style="width: 162px;">
                    <input name="tbMemberName" type="text" id="tbMemberName" class="int" style="width:142px;" />
                </td>
                <td class="textAlignRight" style="width: 78px;">手机号码：
                </td>
                <td>
                    <input type="text" class="int" id="tbMobile" name="txtMobile" />
                </td>
            </tr>
            <tr>
                <td class="textAlignRight">处理状态：
                </td>
                <td class="borderRight">
                    <select name="ddlDoStatus" id="ddlDoStatus" class="int" style="width: 142px;">
	<option value="-1">全部</option>
	<option value="0">未处理</option>
	<option value="1">已处理</option>
	<option value="2">已作废</option>

</select>
                </td>
                <td class="textAlignRight">申请时间：
                </td>
                <td class="borderRight">
                    <input type="text" class="int" id="tbStartDate" name="tbStartDate" style="width: 65px;" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
                    - 
                    <input type="text" class="int" id="tbEndDate" name="tbEndDate" style="width: 65px;" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
                </td>
                <td colspan="2" style="padding-left: 20px;">
                    <input type="button" class="button" id="btnSearch" value="搜 索" />&nbsp;&nbsp;
                </td>
            </tr>
        </table>
        <table id='Test' style='display:none;'></table><input type='text' style='display:none;' id='etmparams' name='etmparams' value='[{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"ApplyDoAct","Display":"操作","Name":"ApplyDoGuid,DoStatus,DoGuid,MemberGuid","Width":120,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"幼儿姓名","Name":"MemberName","Width":120,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"left","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"手机号码","Name":"Mobile","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"申请活动主题","Name":"DoTitle","Width":250,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":"DoTime","Display":"活动时间","Name":"StartTime,EndTime","Width":250,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":"yyyy-MM-dd HH:mm","ColumnType":"DateTime","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"登记时间","Name":"CreateTime","Width":120,"Sortable":true,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false},{"IsCanHide":true,"FormatString":null,"ColumnType":"String","PageColumnGuid":"00000000-0000-0000-0000-000000000000","PageName":null,"SortId":0,"IsSetValueEqualName":false,"VirtualColumn":null,"Display":"状态","Name":"DoStatus","Width":100,"Sortable":false,"ColumnHeader_BindId":null,"ColumnHeader_IsBindDropDownList":false,"Align":"Center","Checkbox":false,"IsLink":false,"LinkStrForamtBindColumn":null,"LinkStrForamt":null,"LinkClass":"","OperationButtons":"","SubStringLength":0,"BindAttrs":null,"IsJsAddColumn":false}]'/><input type='text' style='display:none;' id='etmUrlparams' name='etmUrlparams' value='[{"Key":"navId","Value":"824a5996-01df-49c2-89bf-604b9cb31333"}]'/><input type='text' style='display:none;' id='etmPageUrl' name='etmPageUrl' value='http://vip.yj.etmcn.com/Modules/FamilySchool/ApplyDoList.aspx?navId=824a5996-01df-49c2-89bf-604b9cb31333'/><input type='text' style='display:none;' id='pagename' name='pagename' value='ApplyDoList'/><input type='text' style='display:none;' id='pageamethod' name='pageamethod' value='ApplyDoListDo_ApplyDoList'/><script type='text/javascript'> var etmFormId='form1';function fixIE9() {if ($.browser.msie && $.browser.version == 9) {$('#form1 select').each(function () {var name = $(this).attr('name');if (name != undefined && name.length > 0) {var value = $(this).val();if (value == null) {value = $(this).find('option:first').attr('value');$(this).val(value);}}});}}function RefreshGrid(){ $('#Test').flexOptions().flexReload(); };function addFormData() {fixIE9(); var dt = $('#form1').serializeArray(); $('#Test').flexOptions({ params: dt }); return true; }$(function () { $('#btnSearch').click(function () { $('#Test').flexOptions({ newp: 1 }).flexReload(); return false; }); });$('#Test').flexigrid({url: './data/jxSqhdgl.json',sortname: 'CreateTime',sortorder: 'desc',usepager: true,useRp: true,rpOptions: [20,30,50,100,200],rp: 30,colModel: [{ display: '操作', name: 'ApplyDoGuid,DoStatus,DoGuid,MemberGuid',etmname:'ApplyDoAct', width: 120, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '幼儿姓名', name: 'MemberName',etmname:'MemberName', width: 120, sortable: false, align: 'left', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '手机号码', name: 'Mobile',etmname:'Mobile', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '申请活动主题', name: 'DoTitle',etmname:'DoTitle', width: 250, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '活动时间', name: 'StartTime,EndTime',etmname:'DoTime', width: 250, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false},{ display: '登记时间', name: 'CreateTime',etmname:'CreateTime', width: 120, sortable: true, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'yyyy-MM-dd HH:mm',ColumnType:'DateTime',IsJsAddColumn:false},{ display: '状态', name: 'DoStatus',etmname:'DoStatus', width: 100, sortable: false, align: 'Center', checkbox: false ,IsLink:false,LinkClass:'',OperationButtons:'',SubStringLength:0,hide:false,BindId:'',IsForDDL:false,IsCanHide:true,FormatString:'',ColumnType:'String',IsJsAddColumn:false}],width: $(window).width(),height: $(window).height()-205+60,onSubmit: addFormData});</script>
        <script type="text/javascript">


            $(function () {

                $(".DoInvalid").live("click", function () {
                    var ApplyDoGuid = $(this).attr("ApplyDoGuid");
                    alert("");
                    var c = confirm("确定要作废吗？");
                    if (c) {
                        $.AjaxETM("Do_ApplyDoInvalid", { "ApplyDoGuid": ApplyDoGuid, "DoStatus": 2 },
                            function (data) {
                                window.parent.showsending(false, '');
                                alert(data);
                                parent.content.location.href = "~/Modules/FamilySchool/ApplyDoList.aspx?navId=" + '824a5996-01df-49c2-89bf-604b9cb31333';
                                parent.BoxClose();
                            },
                         true, "text");
                        }
                });
                $(".ApplyDoDelete").live("click", function () {
                    var ApplyDoGuid = $(this).attr("ApplyDoGuid");
                    var c = confirm("确定要删除吗？");
                    if (c) {
                        $.AjaxETM("Do_ApplyDoDelete", { "ApplyDoGuid": ApplyDoGuid },
                            function (data) {
                                alert(data);
                            },
                             true, "text");
                    }
                });
            });
                function ApplyDoReserve(ApplyDoGuid, DoGuid, MemberGuid) {
                    window.parent.showDialog("预约活动", "../Modules/FamilySchool/DoInfo.aspx?ApplyDoGuid=" + ApplyDoGuid + "&MemberGuid=" + MemberGuid + "&DoGuid=" + DoGuid, "900px", "620px");
            }
        </script>
    </form>
</body>
</html>
